<?php
if(isset($_REQUEST['B1']))
{
$ids=$_REQUEST['ids'];
//print_r($_REQUEST['ids']);
$i = implode(',',$ids);
//echo $i;
include("connection/connection.php");
$query = "delete from tbl_dtls_compose where id in($i)";
//echo $query;exit;
$r = mysql_query($query);
if($r){
	echo "delete";
	header('location:inbox.php'); // redirection i.e. move from one page to another.
}
}
?>
